package com.hand.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * Created by 86136 on 2019/7/19.
 */
public class Condition {
    private String itemCode;
    private String itemDescription;
    private String itemUom;
    private Date startActiveDate;
    private Date endActiveDate;

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemDescription() {
        return itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }

    public String getItemUom() {
        return itemUom;
    }

    public void setItemUom(String itemUom) {
        this.itemUom = itemUom;
    }

    public Date getStartActiveDate() {
        return startActiveDate;
    }

    public void setStartActiveDate(Date startActiveDate) {
        this.startActiveDate = startActiveDate;
    }

    public Date getEndActiveDate() {
        return endActiveDate;
    }

    public void setEndActiveDate(Date endActiveDate) {
        this.endActiveDate = endActiveDate;
    }

    @Override
    public String toString() {
        return "Condition{" +
                "itemCode='" + itemCode + '\'' +
                ", itemDescription='" + itemDescription + '\'' +
                ", itemUom='" + itemUom + '\'' +
                ", startActiveDate=" + startActiveDate +
                ", endActiveDate=" + endActiveDate +
                '}';
    }

    public Condition(String itemCode, String itemDescription, String itemUom, Date startActiveDate, Date endActiveDate) {
        this.itemCode = itemCode;
        this.itemDescription = itemDescription;
        this.itemUom = itemUom;
        this.startActiveDate = startActiveDate;
        this.endActiveDate = endActiveDate;
    }

    public Condition() {
    }
}
